import React, { PureComponent } from 'react'
import dayjs from 'dayjs'
class Index extends PureComponent {
    constructor(props) {
        super(props)

        this.state = {
             date: dayjs().format('YYYY-MM-DD')
        }
    }

    render() {
        return (
            <div>
                {this.state.date}
            </div>
        )
    }
}

export default Index